//
//  StoredCell.swift
//  DownloadTube
//
//  Created by Carlos on 18/10/14.
//  Copyright (c) 2014 Carlos. All rights reserved.
//

import UIKit

class StoredCell: UITableViewCell {

    @IBOutlet weak var thumbnail: UIImageView!
    @IBOutlet weak var title: UILabel!
    @IBOutlet weak var author: UILabel!
    @IBOutlet weak var size: UILabel!
    @IBOutlet weak var length: UILabel!
    @IBOutlet weak var format: UILabel!
    
    override func awakeFromNib() {
        
        super.awakeFromNib()
        lookAndFeel()
    }

    override func setSelected(selected: Bool, animated: Bool) {

        super.setSelected(selected, animated: animated)
    }
    
    private func lookAndFeel(){
      
        title.textColor = LookAndFeel.style.titleCellColor
        title.font = LookAndFeel.style.titleCellFont
        author.textColor = LookAndFeel.style.rojoOscuro
        author.font = LookAndFeel.style.subtitleCellFont
        format.textColor = LookAndFeel.style.subtitleMiniCellColor
        format.font = LookAndFeel.style.subtitleMiniCellFont
        size.textColor = LookAndFeel.style.subtitleMiniCellColor
        size.font = LookAndFeel.style.subtitleMiniCellFont
        thumbnail.layer.borderColor = LookAndFeel.style.secondaryColor.CGColor
        thumbnail.layer.borderWidth = 0.5

    }

}
